{*
%%%copyright%%%
 * phpMyTicket - ticket reservation system
 * Copyright (C) 2004-2005 Anna Putrino, Stanislav Chachkov. All rights reserved.
 *
 * This file is part of phpMyTicket.
 *
 * This file may be distributed and/or modified under the terms of the
 * "GNU General Public License" version 2 as published by the Free
 * Software Foundation and appearing in the file LICENSE included in
 * the packaging of this file.
 *
 * Licencees holding a valid "phpmyticket professional licence" version 1
 * may use this file in accordance with the "phpmyticket professional licence"
 * version 1 Agreement provided with the Software.
 *
 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING
 * THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
 * PURPOSE.
 *
 * The "phpmyticket professional licence" version 1 is available at
 * http://www.phpmyticket.com/ and in the file
 * PROFESSIONAL_LICENCE included in the packaging of this file.
 * For pricing of this licence please contact us via e-mail to 
 * info@phpmyticket.com.
 * Further contact information is available at http://www.phpmyticket.com/
 *
 * The "GNU General Public License" (GPL) is available at
 * http://www.gnu.org/copyleft/gpl.html.
 *
 * Contact info@phpmyticket.com if any conditions of this licencing isn't 
 * clear to you.
 
 *}{*
Intd country mgmt. 
Usage 1:

<select name='country'>
{include file='countries.tpl' selected=$smarty.post.country}
</select>

Usage 2:

You choose {$smarty.post.country} - {include file='countries.tpl' code=$smarty.post.country}

*}{strip}
{if $code}
	{fr}{include file='countries_frr.tpl' selected=$code}{/fr}
	{de}{include file='countries_der.tpl' selected=$code}{/de}
	{it}{include file='countries_itr.tpl' selected=$code}{/it}
	{en}{include file='countries_enr.tpl' selected=$code}{/en}
	{sv}{include file='countries_svr.tpl' selected=$code}{/sv}
	{ru}{include file='countries_rur.tpl' selected=$code}{/ru}
{else}
	{fr}{include file='countries_fr.tpl' selected=$selected}{/fr}
	{de}{include file='countries_de.tpl' selected=$selected}{/de}
	{it}{include file='countries_it.tpl' selected=$selected}{/it}
	{en}{include file='countries_en.tpl' selected=$selected}{/en}
	{sv}{include file='countries_sv.tpl' selected=$selected}{/sv}
	{ru}{include file='countries_ru.tpl' selected=$selected}{/ru}
{/if}
{/strip}
